package com.myk.game.lib.rdm;

public class WerTask extends Wer implements Runnable{

    private final Runnable task;

    public WerTask(int weight, Runnable runnable) {
        super(weight);
        this.task = runnable;
    }

    @Override
    public void run() {
        task.run();
    }
}
